package com.nothingboard.module.board.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.nothingboard.module.board.model.BoardSearchDto;
import com.nothingboard.module.board.model.CommentDto;
import com.nothingboard.module.board.model.CommentVo;

public interface CommentDao {
	
	public List<Object> getCommentList(BoardSearchDto dto) throws DataAccessException;
	
	public long getCount(CommentDto dto) throws DataAccessException;
	
	public Object insert(CommentVo vo) throws DataAccessException;
	
	public int update(CommentVo vo) throws DataAccessException;
	
	public int delete(CommentVo vo) throws DataAccessException;
	
	public Object get(long commentNo) throws DataAccessException;
}
